package com.yycx.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yycx.common.mybatis.annotation.TableAlias;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 开票单位银行账户
 *
 * @author flyme
 * @date 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_invoiceunit_bank")
@TableAlias("bib")
@ApiModel(value="BusInvoiceunitBank对象", description="开票单位银行账户")
public class BusInvoiceunitBank extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "bankId", type = IdType.ASSIGN_ID)
    private Long bankId;

    @ApiModelProperty(value = "开票单位ID")
    private Long invoiceUnitId;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(value = "银行状态")
    private Integer bankState;

    @ApiModelProperty(value = "联系人")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    private String linkTel;

    @ApiModelProperty(value = "账户类型(1:税金账户,返款账户)")
    private Integer bankType;

    @ApiModelProperty(value = "备注")
    private String remark;

}
